$("#form-withdrawalConfig-add").validate({
    rules: {
        xxxx: {
            required: true,
        },
    },
    submitHandler: function (form) {
        add();
    }
});

function checkStatus(index) {
    var input = $("#" + index);
    var val = $("#" + index + "Select option:selected").val();
    input.val(val)
}

function add() {
    _ajax_save(ctx + "manage/withdrawalConfig/save", $('#form-withdrawalConfig-add').serialize());
}